﻿<%@ Page Title="" Language="C#" MasterPageFile="../Examples.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="DotNetSources.Web.UI.Buttons.Examples.Examples._5_welcomeBox.Default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="contentDescription" runat="server">
    Scenario: <em>Page loading --> display client driven message box</em>. This scenario shows you when the message box and confirm box are ready to use.
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentExample" runat="server">

<strong>Code: (put this wherever you want)</strong>
<div class="code">
<pre>
    &lt;script type="text/javascript"&gt;
        function pageLoad() {
            DotNetSources.MessageBox.get_instance().Show('Welcome on my page!', DotNetSources.Icons.Info)
        }
    &lt;/script&gt;
</pre>
</div>

<script type="text/javascript">
    function pageLoad() {
        DotNetSources.MessageBox.get_instance().Show('Welcome on my page!', DotNetSources.Icons.Info)
    }
</script>
</asp:Content>

